package com.kevin.clothes.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;

import com.kevin.clothes.dao.ClothesMapper;
import com.kevin.clothes.service.IClothesService;
import com.kevin.entity.ClothesPo;

@Service("clothesService")
public class ClothesServiceImpl implements IClothesService{
	
	@Autowired
	private ClothesMapper clothesMapper;

	@Override
	@Cacheable(value="clothesList")
	public List<ClothesPo> queryList(Map<String, Object> params) {
		return clothesMapper.selectList();
	}

}
